package com.task.core.dto.request;

import java.util.List;

import com.task.common.core.domain.BaseEntity;

import lombok.Data;

/**
 * @author 迪迦.
 * @date 2024/11/5 15:03
 */
@Data
public class MissionRequestDTO extends BaseEntity {
  private String code;
  //任务名称
  private String missionName;
  //广告主code
  private String advertiserCode;
  //联盟code
  private String affiliateCode;
  //分组code
  private String groupCode;
  //国家code
  private String countryCode;
  //计划code
  private String planCode;
  //限制类型
  private String limitationType;
  //限制数量
  private Integer limitationCount;
  //url配置,json,包含链接和权重
  private String urls;
  //开始页源码关键词
  private String htmlStartKeywords;
  //开始页URL关键词
  private String urlStartKeywords;
  //结束页源码关键词
  private String htmlEndKeywords;
  //结束页URL关键词
  private String urlEndKeywords;
  //超时时间
  private Integer timeOut;
  //IP间隔类型
  private String ipIntervalType;
  //IP间隔天数
  private Integer ipIntervalTime;
  //请求间隔
  private Integer requestInterval;
  //异常状态阈值
  private Integer pageStatusThreshold;
  //是否上传文件
  private Boolean cloudStorage;
  //佣金
  private String payout;
  //任务状态
  private Boolean status;
  //权重占比,数字越大选中几率越高
  private Integer weight;
  //浏览器引擎配置
  private String browserEnginesConfigCode;
  //脚本文件code
  private String scriptFileCode;
  //脚本文件codes
  private List<String> scriptFileCodes;
  //脚本文件codes转Json
  private String scriptFileCodeToJson;
  //数据源配置
  private String dataSourceConfig;
  //来路源配置
  private String refererSourceConfig;
  //代理CODE
  private List<String> proxyCodes;
  //IP_FRAUD_CODES
  private List<String> ipFraudCodes;
  //DEVICE_FRAUD_CODES
  private List<String> deviceFraudCodes;
  //PLUGIN_CODES
  private List<String> pluginCodes;
  //FINGERPRINT
  private String fingerprint;
  //设备分组codes
  private List<String> deviceGroupCodes;
  //流量过滤状态
  private Boolean flowFilterStatus;
  //SSL_DECRYPT
  private Boolean sslDecrypt;
  //流量过滤规则
  private List<String> flowFilterRuleCodes;
  //描述
  private String description;


  //时间段,对应记录查询,并不是任务创建时间
  //private String timeType;
  private String startTime;
  private String endTime;
  private Boolean normalState;
}
